import 'package:flutter/material.dart';

class NavCol extends StatefulWidget {
  const NavCol({super.key, required this.icon, required this.title});

  final String icon;
  final String title;

  @override
  State<NavCol> createState() => _NavColState();
}

class _NavColState extends State<NavCol> {
  @override
  Widget build(BuildContext context) {
    return Expanded(
        child: Column(
      children: [
        Image.asset(
          widget.icon,
          width: 35,
          height: 35,
        ),
        const SizedBox(
          height: 5,
        ),
        Text(widget.title)
      ],
    ));
  }
}
